import 'package:json_annotation/json_annotation.dart';
part 'tag_model.g.dart';

@JsonSerializable()
class TagModel {
  String display_name;
  String name;

  TagModel(this.display_name, this.name);

  factory TagModel.fromJson(Map<String, dynamic> json) =>
      _$TagModelFromJson(json);

  Map<String, dynamic> toJson() => _$TagModelToJson(this);
}